

*****************************************************************-----TABLE 6-----***********************************************************************
*                         The code below generates the overall means and the diff. in means t-tests (Board vs. No Board) in Table 6:                    *
*********************************************************************************************************************************************************
*The following generates and stores means by groups (Board vs. no-Board), their difference and the p-values:
estpost ttest V3 V5 vote_bel_all025 COsmall COmedian COlarge, by (DR) unequal 
esttab using ".\Output\Tab6ttest_DR", cells("mu_1(fmt(3)) mu_2 b(star) p" ) delimiter(" & ") varwidth(30) nonumber nomtitle l starlevels(+ 0.15 * 0.10 ** 0.05 *** 0.01)  replace 

*The following generates and stores the standard errors by groups (Board vs. no-Board): 
eststo clear
eststo: mean V3 V5 vote_bel_all025 COsmall COmedian COlarge, over(DR)
esttab using ".\Output\Tab6se_DR", cells("se(par fmt(3))" )  replace
eststo clear
